﻿using System;
namespace System.Data.Services.Serializers
{
    /// <summary>
    /// Data structure for representing the identity and edit-link of an entity being serialized.
    /// </summary>
    internal abstract class SerializedEntityKey
    {
        /// <summary>
        /// Gets the edit link of the entity relative to the service base.
        /// </summary>
        internal abstract Uri RelativeEditLink
        {
            get;
        }
        /// <summary>
        /// Gets the identity of the entity.
        /// </summary>
        internal abstract string Identity
        {
            get;
        }
        /// <summary>
        /// Gets the absolute edit link of the entity.
        /// </summary>
        internal abstract Uri AbsoluteEditLink
        {
            get;
        }
        /// <summary>
        /// Gets the absolute edit link of the entity without a type segment or other suffix.
        /// </summary>
        internal abstract Uri AbsoluteEditLinkWithoutSuffix
        {
            get;
        }
    }
}